package edu.chl.grupp11.aegas.utils;

public interface Observer<S, M> {
	/**
	 * Created by: Pelle Evensen email: pelle@evensen.org
	 * 
	 * Called when an observable has changed.
	 * 
	 * @param parent
	 *            The observable.
	 * @param state
	 *            The message.
	 */
	public void update(Observable<S, M> parent, M state);
}
